<%-- 
    Document   : jeton
    Created on : 9 mai 2010, 16:06:02
    Author     : coralie
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>VOD World</title>
        <link rel=stylesheet type="text/css" href="style.css">
</head>
    <body>

        <%
            String  val =(String)session.getAttribute("User_ID");
            request.setAttribute("_ID",val);
        %>
        
        <div id="container">

            <%@ include file="header.jsp"%>

            <div id="main">
                <% if(session.getAttribute( "log" )!="" && session.getAttribute( "log" )!=null ){ %>
                <form id="majJeton" class="cssform" action="ControlerServlet">
                    Achat de jetons
                    <p><p><br>
                        <label for="nbJeton">Nombre de jetons :</label><br>
                        <input type="text" name="nbJeton" value="" /><br>
                        <input type="hidden" name="Operation" value=6 />
                        <input type="hidden" name="ID" value="<%=val%>" />
                    </p>

                    <p><div style="margin-left: 150px;"><br>
                        <input type="submit" value="Achat" onclick="location.replace('http://localhost:8080/VOD/perso.jsp')"/><br>
                    </div>
                </form>
                <% }else{ %>
                    Vous devez être logger
                <% } %>
            </div>
 
            <div id="footer">
                Site fait par Yves Derkac et Coralie Vessières
            </div>

        </div>

    </body>
</html>

